body {
    /* background: #f2f2f2; */
    background: #282c34;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border-radius: 2px;
    box-shadow: 4px 8px 16px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    background-size: cover;
    color: #333;
    font-family: 'Open Sans', Helvetica, sans-serif;
}

:root {
    --bg-color: #336699;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
}

.triangle {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 300px solid var(--bg-color);
    z-index: 10;
}

.eye {
    width: 100px;
    height: 100px;
    border: 4px solid var(--bg-color);
    background: #fff;
    border-radius: 100% 10%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 20;
    overflow: hidden;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%,
    20%,
    100% {
        height: 100px;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    10% {
        height: 0px;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.pupil {
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    animation: spazz 4s infinite;
}

@keyframes spazz {
    0%,
    14%,
    56% {
        transform: translate(-50%, -50%);
    }
    18%,
    30% {
        transform: translate(-20%, -80%) scale(0.9);
    }
    34%,
    52% {
        transform: translate(-80%, -20%) scale(0.9);
    }
}

.text {
    position: absolute;
    width: 400px;
    bottom: 10px;
    text-align: center;
    color: var(--bg-color);
    font-size: 32px;
    font-weight: 600;
}
